﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chap5 {
    class Program {
        private static void Main(string[] args) {
            Console.WriteLine("chap 5 examples");

            // Constructor Chaining test
            ConstructorChaining constructorChaining = new ConstructorChaining(5);
            constructorChaining.SetDriverName("Reza");
            constructorChaining.PopAWheely();
            Console.WriteLine("Rider name is {0}", constructorChaining.driverName);
            Console.ReadLine();
        }
    }
}